﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Haskell
    {
        public static void Demo01()
        {
            for (int i = 1; i <= 9; i++)//外循环控制行
            {
                for (int j = 1; j <= i; j++)//内循环控制列
                {
                    Console.Write(i + "*" + j + "=" + i * j + "\t");//输出结果
                }
                Console.WriteLine("\n");//换行
            }
            Console.ReadLine();
        }
    }
}
